import Ids from 'ids';
import convertXml from './convertXml';
import convertGraph from './convertGraph';

const ids = new Ids([32, 32, 1]);

const nextId=()=>`ID${ids.next()}`;

interface ProcessProps{
  id: string,
  name: string,
  isExecutable: boolean,
  candidateStarterUsers: string,
  candidateStarterGroups: string,
  documentation: string,
  isEagerExecutionFetching: string,
  formProperty: any[]
}

export {
  nextId,
  convertXml,
  convertGraph,
};

export type {
  ProcessProps
};